package com.lyy.consolidate;


/**
 * @Author:  GZQ
 * @date:  2024/12/3 0:03
 * @description: 巩固练习7
 */


public class LabeledPoint extends Point {
    // 特有属性
    private String label;

    // 方法

    public LabeledPoint(String label, double x, double y) {
        super(x, y);
        this.label = label;
    }
}
